package com.lin.chapter10;

public class HummerH1Model extends HummerModel {
	private boolean isAlarm = true;

	public void start() {
		System.out.println("悍马H1鸣笛...");
	}

	public void stop() {
		System.out.println("悍马H1引擎声音是这样子的...");
	}

	public void alarm() {
		System.out.println("悍马H1发动...");
	}

	public void engineBoom() {
		System.out.println("悍马H1停车...");
	}

	public boolean isAlarm() {
		return isAlarm;
	}

	public void setAlarm(boolean alarm) {
		isAlarm = alarm;
	}
}
